package com.google.zxing.client.homework.utils;

import java.io.Serializable;

public class GetQrcodeClientResultVo implements Serializable {
    public class responseHeader{
        private String code;//number
        private String msg;
        private String serverTimestamp;//number
        private Boolean successful;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getServerTimestamp() {
            return serverTimestamp;
        }

        public void setServerTimestamp(String serverTimestamp) {
            this.serverTimestamp = serverTimestamp;
        }

        public Boolean getSuccessful() {
            return successful;
        }

        public void setSuccessful(Boolean successful) {
            this.successful = successful;
        }
    }
    private responseHeader responseHeader = new responseHeader();

    private String info;

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public GetQrcodeClientResultVo.responseHeader getResponseHeader() {
        return responseHeader;
    }

    public void setResponseHeader(GetQrcodeClientResultVo.responseHeader responseHeader) {
        this.responseHeader = responseHeader;
    }
    public void setHeader(Boolean successful, String code, String msg, String serverTimestamp ){
        responseHeader.setSuccessful(successful);
        responseHeader.setCode(code);
        responseHeader.setMsg(msg);
        responseHeader.setServerTimestamp(serverTimestamp);
    }
}
